package com.yumingjiang.tool.enums;

/**
 * @description:
 * @author: John
 * @version: ErrorLevel.java, v1.0 2024年12月11日 20:12
 */
public enum ErrorLevel {
    BIZ("BIZ","业务层面"),
    SYS("SYS","系统层面"),
    THIRD("THIRD","第三方服务")
    ;

    private final String code;
    private final String desc;

    ErrorLevel(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
